package cn.shop.dys.bean;

/**
 * Created by sugar0811 on 2016/4/22.
 */
public class ValueListBean {
    private String id;
    private String name;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "ValueListBean{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                '}';
    }

    public String getKey(String name){
        if(name == this.name){

            return this.id;

        }
        return null;
    }
}
